GetFileInfo
Retrieves the file creator and file type of the data referenced by this Cyberdog item.
void GetFileInfo (in CDItemInfoType infoType, out ODOSType flCreator, out ODOSType flType);
infoType
- The type of file for which information should be returned. Possible values are
kCDInfoReference
,kCDInfoPart
, orkCDInfoDownload
.flCreator
- The file creator.
flType
- The file type.
DISCUSSION
This method should return a file creator and a file type of the specified form for a Cyberdog item in the Finder: reference, part, or downloaded file. The superclass implementation returns 0 for the file creator and the file type.This method throws the
kCDErrItemNotResolved
exception if the Cyberdog item is not resolved.If you subclass
CyberItem
, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheCDItemInfoType
type (page 173).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help